Repository navigation
ci(doop): widen drawingBrowser waits to 30s for loaded runners (CHE-6913) - #57
Closed
congvc-bot-x99[bot] wants to merge 1 commit into
Closed
congvc-bot-x99[bot] wants to merge 1 commit into
congvc-bot-x99[bot] wants to merge 1 commit into
Conversation
This was referenced Nov 17, 2026
Author
|
Superseded by the CHE-6913 fix commits on PR #64 (CHE-7020, CHE-7021 evidence). This PR holds only the first commit and its body says the 3-run condition is not covered, so its |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes CHE-6913.
Cause
PR #56 (S4c) added 5 test files, so vitest's shard split moved
tests/drawingBrowser.test.tsfrom shard 3 (main run 43940905132) into shard 4. There it shares a 2-vCPU runner withcompatIsolationDocker.test.ts(34 s of Docker) andpageControlsBrowser.test.ts(13 s of Chromium). The file's 10 s waits (page.setDefaultTimeout(10_000),expect.polltimeout) then overrun on a different drag test each attempt. Evidence: runs 44036332041 to 44050720681 fail on different tests each attempt; file time is 102 s in shard 4 versus 103 s in main shard 3, so the file is not slower overall, individual waits spike. Not a real race: the same tests pass when the runner is not contended.Fix
Waits 10 s to 30 s (
WAIT_MS), describe timeout 30 s to 60 s. No behavior change in the app.Red / green (same command, same load)
Load:
taskset -c 0,1plus one busy loop on those CPUs,npx vitest run tests/drawingBrowser.test.ts.Tests 6 failed | 73 passed (79),TimeoutError: Waiting failed: 10000ms exceeded(different tests per run; the earlier 2-busy-loop run failed 2 other tests).Test Files 1 passed,Tests 79 passed (79), 229.6 s.79 passed (79), 106.5 s. One earlier run on the busy X99 host (load average 32) failed 1 of 79 and passed on rerun, so this reduces flakes, it does not claim zero.Not covered
Done-when "shard 4 passes 3 consecutive runs of an unchanged head" needs PR #56 rebased onto this change; that is CHE-6841's branch, not touched here.
gstack-checkstest lane runsbun test(wrong runner for vitest files), so it reported 63 spurious failures; typecheck and lint pass.